package com.example.demo.service;

import com.example.demo.pojo.entity.Subject;
import com.example.demo.pojo.vo.SubjectVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ISubjectService {
    List<SubjectVO> initSubject();

    Subject searchById(int id);

    int addSubject(Subject subject);

    void uploadFile(MultipartFile file,int subjectId,int fileId);

    void downTemplateInfo(HttpServletResponse response);
}
